<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cursor 编辑器完全指南</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .card-hover {
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: rgba(102, 126, 234, 0.3);
        }
        
        .section-title {
            position: relative;
            padding-left: 20px;
        }
        
        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
        }
        
        .code-block {
            background: #282a36;
            color: #f8f8f2;
            border-radius: 8px;
            padding: 20px;
            overflow-x: auto;
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            font-size: 14px;
            line-height: 1.6;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            margin-bottom: 16px;
        }
        
        .timeline-item {
            position: relative;
            padding-left: 40px;
            margin-bottom: 24px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 8px;
            width: 12px;
            height: 12px;
            background: #667eea;
            border-radius: 50%;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 13px;
            top: 20px;
            width: 2px;
            height: calc(100% + 12px);
            background: rgba(102, 126, 234, 0.2);
        }
        
        .timeline-item:last-child::after {
            display: none;
        }
        
        table {
            border-collapse: separate;
            border-spacing: 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
        }
        
        th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-weight: 600;
            padding: 16px;
            text-align: left;
        }
        
        td {
            padding: 16px;
            border-bottom: 1px solid #e5e7eb;
            background: white;
        }
        
        tr:last-child td {
            border-bottom: none;
        }
        
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 32px 0;
        }
        
        .drop-cap {
            float: left;
            font-size: 4em;
            line-height: 0.8;
            margin: 0.1em 0.1em 0.1em 0;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: 'Noto Serif SC', serif;
        }
        
        .highlight-box {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border-left: 4px solid #667eea;
            padding: 20px;
            border-radius: 8px;
            margin: 24px 0;
        }
        
        .nav-item {
            transition: all 0.3s ease;
            cursor: pointer;
            padding: 8px 16px;
            border-radius: 8px;
        }
        
        .nav-item:hover {
            background: rgba(102, 126, 234, 0.1);
            transform: translateX(5px);
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <div class="hero-gradient text-white">
        <div class="container mx-auto px-6 py-24">
            <div class="max-w-4xl mx-auto text-center">
                <h1 class="text-5xl md:text-6xl font-bold mb-6">
                    <i class="fas fa-code mr-4"></i>Cursor 编辑器
                </h1>
                <p class="text-xl md:text-2xl mb-8 opacity-90">AI 驱动的下一代代码编辑器完全指南</p>
                <div class="flex justify-center space-x-4">
                    <div class="bg-white bg-opacity-20 backdrop-blur-lg rounded-lg px-6 py-3">
                        <i class="fas fa-rocket mr-2"></i>快速上手
                    </div>
                    <div class="bg-white bg-opacity-20 backdrop-blur-lg rounded-lg px-6 py-3">
                        <i class="fas fa-brain mr-2"></i>AI 增强
                    </div>
                    <div class="bg-white bg-opacity-20 backdrop-blur-lg rounded-lg px-6 py-3">
                        <i class="fas fa-sync-alt mr-2"></i>无缝迁移
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Main Content -->
    <div class="container mx-auto px-6 py-12">
        <div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
            <!-- Sidebar Navigation -->
            <div class="lg:col-span-1">
                <div class="bg-white rounded-xl shadow-lg p-6 sticky top-6">
                    <h3 class="text-lg font-bold mb-4 text-gray-800">
                        <i class="fas fa-compass mr-2 text-purple-600"></i>快速导航
                    </h3>
                    <nav class="space-y-2">
                        <div class="nav-item">
                            <i class="fas fa-download mr-2 text-purple-500"></i>系统要求与下载
                        </div>
                        <div class="nav-item">
                            <i class="fas fa-cog mr-2 text-purple-500"></i>安装流程详解
                        </div>
                        <div class="nav-item">
                            <i class="fas fa-palette mr-2 text-purple-500"></i>初始配置与个性化
                        </div>
                        <div class="nav-item">
                            <i class="fas fa-exchange-alt mr-2 text-purple-500"></i>从其他编辑器迁移
                        </div>
                        <div class="nav-item">
                            <i class="fas fa-network-wired mr-2 text-purple-500"></i>网络与代理设置
                        </div>
                    </nav>
                </div>
            </div>

            <!-- Main Content Area -->
            <div class="lg:col-span-3 space-y-8">
                <!-- Section 1: 系统要求与下载 -->
                <section class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <h2 class="text-3xl font-bold mb-6 section-title">
                        系统要求与下载
                    </h2>
                    
                    <p class="text-gray-700 mb-6 text-lg">
                        <span class="drop-cap">在</span>开始使用 Cursor 之前，需要了解其系统要求并从官方渠道获取安装包。
                    </p>

                    <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
                        <div class="bg-gray-50 rounded-lg p-6">
                            <div class="feature-icon">
                                <i class="fab fa-windows"></i>
                            </div>
                            <h4 class="font-bold text-lg mb-3">Windows</h4>
                            <ul class="space-y-2 text-gray-600">
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>Windows 10 (64位) 1809+</li>
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>Windows 11 所有版本</li>
                                <li><i class="fas fa-times-circle text-red-500 mr-2"></i>不支持 Win 7/8/8.1</li>
                            </ul>
                        </div>
                        
                        <div class="bg-gray-50 rounded-lg p-6">
                            <div class="feature-icon">
                                <i class="fab fa-apple"></i>
                            </div>
                            <h4 class="font-bold text-lg mb-3">macOS</h4>
                            <ul class="space-y-2 text-gray-600">
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>macOS 10.15+</li>
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>Intel & Apple Silicon</li>
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>M1/M2/M3 原生支持</li>
                            </ul>
                        </div>
                        
                        <div class="bg-gray-50 rounded-lg p-6">
                            <div class="feature-icon">
                                <i class="fab fa-linux"></i>
                            </div>
                            <h4 class="font-bold text-lg mb-3">Linux</h4>
                            <ul class="space-y-2 text-gray-600">
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>Ubuntu 18.04 LTS+</li>
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>Debian 10+</li>
                                <li><i class="fas fa-check-circle text-green-500 mr-2"></i>Fedora 36+</li>
                            </ul>
                        </div>
                    </div>

                    <div class="highlight-box">
                        <h4 class="font-bold text-lg mb-3">
                            <i class="fas fa-microchip mr-2"></i>硬件推荐配置
                        </h4>
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                            <div>
                                <p class="font-semibold mb-2">处理器</p>
                                <p class="text-gray-600">四核处理器或更高</p>
                            </div>
                            <div>
                                <p class="font-semibold mb-2">内存</p>
                                <p class="text-gray-600">16 GB RAM 或更高</p>
                            </div>
                            <div>
                                <p class="font-semibold mb-2">存储</p>
                                <p class="text-gray-600">SSD 存储，至少 2 GB 可用空间</p>
                            </div>
                            <div>
                                <p class="font-semibold mb-2">网络</p>
                                <p class="text-gray-600">20 Mbps+ 带宽（AI 功能）</p>
                            </div>
                        </div>
                    </div>
                </section>

                <!-- Section 2: 安装流程详解 -->
                <section class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <h2 class="text-3xl font-bold mb-6 section-title">
                        安装流程详解
                    </h2>

                    <div class="mb-8">
                        <h3 class="text-xl font-bold mb-4">
                            <i class="fas fa-desktop mr-2 text-purple-600"></i>Windows 安装步骤
                        </h3>
                        <div class="space-y-4">
                            <div class="timeline-item">
                                <p class="font-semibold">访问 Cursor 官网</p>
                                <p class="text-gray-600">前往 <a href="https://cursor.sh/" class="text-purple-600 hover:underline">cursor.sh</a> 下载安装程序</p>
                            </div>
                            <div class="timeline-item">
                                <p class="font-semibold">运行安装程序</p>
                                <p class="text-gray-600">双击 .exe 文件，按照向导提示操